/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.entities;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author HoangTien
 */
public class Category implements Serializable{
    private int cateId;
    private String cateName;
    private List<Book> listBooks;

    public Category() {
    }

    public Category(int cateId, String cateName) {
        this.cateId = cateId;
        this.cateName = cateName;
    }

    public Category(int cateId, String cateName, List<Book> listBooks) {
        this.cateId = cateId;
        this.cateName = cateName;
        this.listBooks = listBooks;
    }
    
    public int getCateId() {
        return cateId;
    }

    public void setCateId(int cateId) {
        this.cateId = cateId;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public List<Book> getListBooks() {
        return listBooks;
    }

    public void setListBooks(List<Book> listBooks) {
        this.listBooks = listBooks;
    }
    
}
